//==================================================================
/// font.h
///
/// Created by Davide Pasca - 2009/10/5
/// See the file "license.txt" that comes with this project for
/// copyright info. 
//==================================================================

#ifndef FONT_H
#define FONT_H

//==================================================================
//==================================================================
class Font
{
public:
	int		mCWd, mCHe;

private:
	int		mSrcCoords[2][256];
	image	mImg;
	image	mImgOutline;

public:
	//==================================================================
	Font( const DStr &fname, int fw, int fh );

	//==================================================================
	void DrawText( graphics &g, int x, int y, int align_x, int align_y,
					int col1, int col2, int bgcol, const DStr &str );

};

#endif
